package com.alks.function.service.stockdept.pcfactorystockquery;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.biocontrol.deptwork.SoleIoPrintDto;
import com.alks.function.data.request.stockdept.pcfactorystockwork.StitchIORequest;

public interface ISoleIoService {
    ResponseInfo getSoleIOQuery(String lotNo, String partType, Boolean mergeFlag);

    ResponseInfo soleIOAdd(StitchIORequest request, Integer length, String partType);

    ResponseInfo soleIOUp(StitchIORequest request, String partType);

    ResponseInfo soleIODelete(String slipNo, String partType);

    /**
     * 生成汇总单据号
     *
     * @param lotNo    指令
     * @param partType 收发类型
     * @return 单据号
     */
    String soleSlipNoCreat(String lotNo, String partType);

    /**
     * 查询打印单所需数据
     * @param printNo 打印单据
     * @param partType 收发类型收发类型
     * @return 打印单据数据
     */
    SoleIoPrintDto ioPrintf(String printNo, String partType);
}
